package com.project.dao;

import com.project.dataobject.MapDO;

import java.util.Map;

public interface MapDOMapper {
    int deleteByPrimaryKey(Integer mapId);

    int insert(MapDO record);

    int insertSelective(MapDO record);

    MapDO selectByPrimaryKey(Integer mapId);

    MapDO selectByLongUrl(String longUrl);

    String selectByShortUrl(String shortUrl);

    int updateByPrimaryKeySelective(MapDO record);

    int updateByPrimaryKey(MapDO record);
}